package com.walter.dao;

import java.util.List;

import com.walter.domain.TeacherInfo;

public interface TeacherInfoDao {
	
	//查询所有老师
	List<TeacherInfo> getAll();
	//获得老师总数
	long getCount();
	//分页查询
	List<TeacherInfo> getAllByPage(int page);
	//根据姓名查询
	List<TeacherInfo> getByName(String name);
	//根据id查询
	TeacherInfo getById(Long id);
}
